package com.ahuan.mapper;

import com.ahuan.domain.Role;
import com.ahuan.domain.User;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
public interface UserMapper {

    List<User> selectByPage();

    void insertUser(@Param("user") User user);

    Integer updateUser(@Param("user") User user);

    Integer resetPassword(String userId);

    Integer deleteUserById(String userId);

//    List<Role> selectRoleList();
}